package com.cn.mmd.service;

import com.cn.mmd.mapper.StudentAppMapper;
import com.cn.mmd.model.StudentApp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/7/21 0021.
 */

@Service("studentAppService")
public class StudentAppServiceImpl implements  StudentAppService {

    @Autowired
    private StudentAppMapper studentAppMapper;

    @Override
    public int insertSelective(StudentApp record) {
        return studentAppMapper.insertSelective(record);
    }

    @Override
    public StudentApp selectByPrimaryKey(String studentid) {
        return studentAppMapper.selectByPrimaryKey(studentid);
    }

    @Override
    public int updateByPrimaryKeySelective(StudentApp record) {
        return studentAppMapper.updateByPrimaryKeySelective(record);
    }
}
